package com.aos.erp.manager.service.applyschool;


import com.aos.erp.common.bean.IPageBean;
import com.aos.erp.common.exception.BizException;
import com.aos.erp.manager.model.applyschool.entity.ApplySchool;
import com.aos.erp.manager.model.applyschool.ro.*;
import com.aos.erp.manager.model.applyschool.vo.ApplyInfoVo;
import com.aos.erp.manager.model.applyschool.vo.ApplyListVo;
import com.aos.erp.manager.model.applyschool.vo.LoginResultRo;
import com.aos.erp.manager.model.applyschool.vo.SchoolNameVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.text.ParseException;

/**
 * <p>
 * 总校 服务类
 * </p>
 *
 * @author chb
 * @since 2018-10-31
 */
public interface ApplySchoolService extends IService<ApplySchool> {

	IPageBean<ApplyListVo> queryByPage(QueryApplySchoolRo queryGatherSchoolRo);

	ApplyInfoVo applyInfo(long id) throws BizException;

	void editApply(ReviewApplyRo reviewApply) throws BizException, Exception;

	SchoolNameVo gatherNameByCode(String code) throws BizException;

	LoginResultRo queryResult(LoginUserRo loginUserRo) throws BizException;

	void applySchool(ApplySchoolRo applySchoolRo) throws BizException;

	void updateApplySchool(UpdateApplySchoolRo updateApplySchoolRo) throws BizException;

	void sendSmsMessage(String phone);

	void checkSmsMessage(String phone,String code) throws BizException, ParseException;

	void checkPicMessage(String captchaCode, String code) throws BizException;
}
